package com.gitee.zycra.future.job.common.param;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author zycra
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class ManualTriggerParam {

    /**
     * 任务调度ID
     */
    @NotNull(message = "任务ID不能为空")
    private Long jobScheduleId;

    /**
     * 节点ID
     */
    @NotNull(message = "节点不能为空")
    private Long nodeId;

    /**
     * 执行参数
     */
    private String param;

}
